package beans;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
import javax.ejb.FinderException;

/**
 *
 * @author KAV
 */
public interface DepartmentsBeanRemoteHome extends EJBHome {

    DepartmentsBeanRemote findByPrimaryKey(java.lang.Integer key) throws FinderException, RemoteException;
    public Collection findAll() throws RemoteException, FinderException;
    public DepartmentsBeanRemote create(String title, int country) throws CreateException, RemoteException;
}
